﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YLPublicService.TransferModel;

namespace YLClient.Util
{
    public class UploadItem
    {
        public WorkItem WorkItem { get; set; }
        public List<string> Files { get; set; }
    }
    public class UploadWorkItemManager
    {
        public List<UploadItem> Items;
        public UploadWorkItemManager()
        {
            Items = new List<UploadItem>();
            var item = new UploadItem();
            item.WorkItem = null;
            item.Files = new List<string>();
            item.Files.Add("adf");
            Items.Add(item);
        }
        public void AddItem(UploadItem item)
        {
            Items.Add(item);
        }
        public bool RemoveItem(UploadItem item)
        {
            return Items.Remove(item);
        }
    }
}
